package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 差旅费类型
 * </p>
 * @author WuZH
 * @since 2024-08-18
 */
@Data
@TableName("erp_king_travel_expenses_type_info")
@ApiModel(value = "KingTravelExpensesTypeEntity对象", description = "差旅费类型")
public class KingTravelExpensesTypeEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty("编码")
    @TableField("doc_no")
    private String docNo;

    @ApiModelProperty("名称")
    @TableField("title")
    private String title;

    @ApiModelProperty("默认抵扣税率%")
    @TableField("default_deduction_tax_rate")
    private String defaultDeductionTaxRate;

    @ApiModelProperty("抵扣类型;1:增值税专票抵扣；2：非增值税抵扣；3：增值税电子普票抵扣；4：不抵扣")
    @TableField("deduction_type")
    private Integer deductionType;

    @ApiModelProperty("税率生效日期")
    @TableField("tax_rate_takes_time")
    private Data taxRateTakesTime;

    @ApiModelProperty("税率失效日期")
    @TableField("tax_rate_loss_time")
    private Data taxRateLossTime;

    @ApiModelProperty("默认实名；1：是；2：否")
    @TableField("is_default_real_name")
    private Integer isDefaultRealName;

    @ApiModelProperty("描述")
    @TableField("desc_info")
    private String descInfo;

    @ApiModelProperty("数据审批状态")
    @TableField("state")
    private String state;

    @ApiModelProperty("流程实例Id")
    @TableField("instance_id")
    private String instanceId;

    @ApiModelProperty("是否禁用；1：正常；2：禁用")
    @TableField("is_disabled")
    private Integer isDisabled;

    @ApiModelProperty("禁用人")
    @TableField("disabled_by")
    private String disabledBy;

    @ApiModelProperty("禁用日期")
    @TableField("disabled_time")
    private Date disabledTime;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("修改人")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty("修改时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty("软删除")
    @TableField("is_used")
    private Integer isUsed;

    @ApiModelProperty ( "业务type" )
    @TableField ( exist = false )
    private String businessType;

    @ApiModelProperty ( "流程模型id" )
    @TableField ( exist = false )
    private String modelId;


}
